package com.example.erat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("course")
public class Course implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private int courseId;   // 课程ID
    private String courseName; // 课程名称
    private int teacherId;  // 授课教师ID
    private String teacherName;// 授课教师姓名
}
